<div class="funcarea">
	<label>参数名</label>
	<select id="searchCondition">
	<option value="deployId">发布ID</option>
	
					<option value="itemId">道具ID</option>	
			
				</select>
	<label>参数值</label>
	<input type="text" id="searchValue"/>
	<a href="javascript:void(0)" onclick="searchsilver_bag()">查询</a>
	<a href="javascript:void(0)" onclick="document.location.reload()">刷新</a>
	<a href="javascript:void(0)" onclick="promptAdd()">增加</a>
	<a href="javascript:void(0)" onclick="promptExport()">导出</a>
	<a href="javascript:void(0)" onclick="extract()">转换银币包数据</a>
	<a href="javascript:void(0)" onclick="publish()">发布银币包</a>
</div>
{% if pageLength > 1 %}
<center>
	<br/>
	{% if pageIndex > 1 %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} - 1)">上一页</a>
	{% endif %}
	<a href="javascript:void(0)" disabled>第{{pageIndex}}/{{pageLength}}页</a>
	{% if pageIndex < pageLength %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} + 1)">下一页</a>
	{% endif %}
	<a href="javascript:void(0)" onclick="go2Page()">跳至</a>第
	<input type="text" size="2" id="pageValue" value="{{pageIndex}}"/>页
	<br/>
</center>
{% endif %}
<div class="dataarea">
	<table>
		<thead>
			<tr>
			<th nowrap>发布ID</th>
			
				<th nowrap>道具ID</th>
			
				<th nowrap>银币列表</th>
							<th nowrap class="operator">----------操作---------</th>
			</tr>
		</thead>
		<tbody>
		{% for silver_bag in silver_bags %}
			<tr id="row_{{ silver_bag.id }}">
				<td><a href="javascript:void(0)" onclick="promptMenu({{ silver_bag.id }})">{{ silver_bag.deployId }}</a></td>
				
					
						<td>{{ silver_bag.itemId }}</td>
									
					
						<td>{{ silver_bag.silvers }}</td>
													<td class="operator">
					<a href="javascript:editsilver_bag({{ silver_bag.id }})">编辑</a>
					<a href="javascript:removesilver_bag({{ silver_bag.id }})">删除</a>
					<a href="javascript:showsilver_bag({{ silver_bag.id }})">显示JSON</a>
				</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
</div>
{% if pageLength > 1 %}
<center>
	<br/>
	{% if pageIndex > 1 %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} - 1)">上一页</a>
	{% endif %}
	<a href="javascript:void(0)" disabled>第{{pageIndex}}/{{pageLength}}页</a>
	{% if pageIndex < pageLength %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} + 1)">下一页</a>
	{% endif %}
	<a href="javascript:void(0)" onclick="go2Page()">跳至</a>第
	<input type="text" size="2" id="pageValue" value="{{pageIndex}}"/>页
	<br/>
</center>
{% endif %}
